libinotify-ocaml software package provides OCaml bindings for the inotify API, you can install in your Ubuntu 16.04 LTS (Xenial Xerus) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install libinotify-ocaml
libinotify-ocaml is installed in your system.
Make ensure the libinotify-ocaml package were installed using the commands given below,
$ sudo dpkg-query -l | grep libinotify-ocaml *
You will get with libinotify-ocaml package name, version, architecture and description in a table
| Distro | Ubuntu 16 04 lts xenial xerus |
| Section | Library development |
| Package | libinotify-ocaml |
| Version | 1.0-1build7 |
| Description | OCaml bindings for the inotify API |
| Sub Section | Devel |